<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
// window.addEventListener('offline', () => {
//   // 网络由正常到异常时才会触发
//   console.log("没网了")
// });
// window.addEventListener('online', () => {
//   window.location.href = sessionStorage.locationUrl
// });
</script>
<style>
#app,body,html{
  height: 100%;
}
</style>
